package com.emagic.manage.data.user;


import com.emagic.manage.data.BuildConfig;

/**
 * 由数据层发出的广播常量
 *
 * @author baoy
 * @version 1.0
 *          Create by 2017/7/10 下午3:51
 */
public class BroadcastAction {

    public static final String GAIN_POINTS_BROADCAST = BuildConfig.BROADCAST_PREFIX + ".action.SHOW_CREDIT"; //获得积分广播

    public static final String GAIN_POINTS_EXTRA = BuildConfig.BROADCAST_PREFIX + ".action.SHOW_CREDIT.extra.credit_point";//获得积分 extra key

    public static final String TOKEN_FAILURE_BROADCAST = BuildConfig.BROADCAST_PREFIX + ".action.TOKEN_FAILURE"; //登录失效广播


    public static final String MESSAGE_UPDATE_BROADCAST = BuildConfig.BROADCAST_PREFIX + ".action.UPDATE_MESSAGE"; //消息数量变动广播
    public static final String MESSAGE_UPDATE_METHOD_EXTRA = BuildConfig.BROADCAST_PREFIX + ".action.UPDATE_MESSAGE.extra.method";//消息变动模块 extra key
    public static final String MESSAGE_UPDATE_NUM_EXTRA = BuildConfig.BROADCAST_PREFIX + ".action.UPDATE_MESSAGE.extra.message_num";//消息变动数量 extra key

}
